Tokens for Catch Branch

The catch branch of the Try-Catch activity produces the following tokens, available only within the catch branch.

Name Description Sample Syntax*
Error Code The error code of the error encountered in the try branch. %(CatchBranch_Error Code)
Message The error message of the error encountered in the try branch. %(CatchBranch_Message)
Actual Type The name of the exception encountered in the try branch. %(CatchBranch_Actual Type)
Actual Type Full The namespace-qualified name of the exception encountered in the try branch. %(CatchBranch_Actual Type Full)

*The "CatchBranch" portion of the syntax changes to match the catch branch's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the catch branch, Exception--Handler, the syntax for the Error Code token will be %(ExceptionHandler_Error Code).